package com.shop.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.common.core.domain.Result;
import com.shop.system.domain.User;
import com.shop.system.mapper.UserMapper;
import io.swagger.models.auth.In;

import java.util.List;

public interface UserService extends IService<User> {
    User findByName(String userName);

    List<User> show();

    Result<User> insert(User user);

    Result<User> upd(User user);

    Result<User> del(Integer id);
}
